﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using DTO.Common;
using DTO.Headquarters;

namespace ServiceInterfaces.Headquarters
{
    [ServiceContract]
    public interface IHeadquartersManagement
    {
        [OperationContract]
        void AddSupplier(Supplier supplier);

        [OperationContract]
        List<Supplier> GetSuppliers();

        [OperationContract]
        void AddProduct(Product produto);

        [OperationContract]
        ProductList GetProductsToOrder(int page, int recordsPerPage, OrderStatus orderStatus);

        [OperationContract]
        void ProductOrdered(int productCode);

        [OperationContract]
        void UpdateStock(int productCode, int amount);
    }
}
